package com.situ.project1.service.impl;

import com.situ.project1.mapper.ManagerMapper;
import com.situ.project1.pojo.Account;
import com.situ.project1.service.ManagerService;
import com.situ.project1.util.PaginateInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author:yzy
 * @date:2024/8/20
 */
@Service
public class ManagerServiceImpl implements ManagerService {
    @Autowired
    private ManagerMapper managerMapper;
    @Override
    public List<Account> findAll(PaginateInfo pi, Account accounts) {
        return managerMapper.findAll(pi,accounts);
    }
}
